﻿using UnityEngine;
using System.Collections;

public class PlatformCollision : MonoBehaviour 
{
	void OnTriggerEnter(Collider other)
	{
		Debug.Log ("Enter");
		other.transform.parent = gameObject.transform;
	}

	void OnTriggerExit(Collider other)
	{
		Debug.Log ("Exit");
		other.transform.parent = null;
	}
}
